@echo Start compile Form to fmx
@echo off
if "%1"=="" goto help

if "%2"=="" goto all
for %%F in (%2.fmb) DO ifcmp60 userid=%1 batch=y module=%%F
goto end

:all
for %%F in (*.fmb) DO ifcmp60 userid=%1 batch=y module=%%F
goto end

:help
@echo on
@echo ******* cpf6i user/pwd@db part_of_filename *******
@echo off
goto end

:end
@echo finished...
